package com.ruoyi.jetLinks.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 设备维护信息对象 nm_equipemnt_record
 * 
 * @author lxx
 * @date 2021-12-27
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("nm_equipemnt_record")
@ApiModel(value = "设备维护信息")
public class NmEquipemntRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId("recod_id")
    private Long recodId;

    /** nm_equipment主键 */
    @Excel(name = "nm_equipment主键")
    @ApiModelProperty(value = "nm_equipment主键")
    private Long equipId;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairDate;

    /** 维修人员姓名 */
    @Excel(name = "维修人员姓名")
    @ApiModelProperty(value = "维修人员姓名")
    private String repairPoepleName;

    /** 维修人员编号 */
    @Excel(name = "维修人员编号")
    @ApiModelProperty(value = "维修人员编号")
    private Long repairPoepleId;

    /** 故障现象 */
    @Excel(name = "故障现象")
    @ApiModelProperty(value = "故障现象")
    private String faultPhenomenon;

    /** 故障原因分析 */
    @Excel(name = "故障原因分析")
    @ApiModelProperty(value = "故障原因分析")
    private String failureCauseAnalysis;

    /** 维修过程记录 */
    @Excel(name = "维修过程记录")
    @ApiModelProperty(value = "维修过程记录")
    private String maintenanceProcessRecord;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    @ApiModelProperty(value = "创建人姓名")
    private String createName;

    /** 创建人编号 */
    @Excel(name = "创建人编号")
    @ApiModelProperty(value = "创建人编号")
    private Long createId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
